import Vue from 'vue';
import App from './App';
import uView from 'uview-ui';
import httpInterceptor from '@/common/http.interceptor.js';
import store from '@/store';

Vue.use(uView);

Vue.config.productionTip = false;

App.mpType = 'app';

Vue.prototype.getImgUrl = (imgName) => {
    return 'https://www.hesongzhineng.com/img/static/' + imgName;
};

const app = new Vue({
    ...App,
    store,
});

Vue.use(httpInterceptor, app);
app.$mount();
